package com.blog.cloud.sms.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Getter
@Setter
@ConfigurationProperties(prefix = "tencent.sms")
public class TencentSmsProperties {

    /**
     * 腾讯云账户ID
     */
    private String secretId;

    /**
     * 腾讯云账户密钥
     */
    private String secretKey;

    /**
     * 短信应用ID
     */
    private String sdkAppId;

    /**
     * 短信签名内容
     */
    private String signName;

    /**
     * 短信模板ID
     */
    private String templateId;

    /**
     * 短信有效时长，单位分钟
     */
    private Long timeout;
}
